package net.tv90.bfmccore.event;

import lombok.Getter;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public class PlayerBattlepassUpgradedEvent extends Event {

    private static final HandlerList Handlers = new HandlerList();
    private final @Getter Player player;
    private final @Getter int level;
    private final @Getter int point;

    public PlayerBattlepassUpgradedEvent(Player player, int level, int point) {
        this.player = player;
        this.level = level;
        this.point = point;
    }

    public static HandlerList getHandlerList() {
        return Handlers;
    }

    @Override
    public HandlerList getHandlers() {
        return Handlers;
    }
}
